<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>无标题文档</title>
<script src="jquery-2.0.3.js"></script>
<script>

//var str = '  hello  ';

//alert( '('+$.trim(str)+')' );

//alert( '('+str.trim()+')' );

/*window.onload = function(){
	
	//var aDiv = document.getElementsByTagName('div');
	
	var str = 'hello';
	
	console.log( $.makeArray( str , {length:0} ) );
	
};*/

//var arr = ['a','b','c','d'];
//alert( $.inArray( 'w' , arr ) );  indexOf


/*if :  $.merge(['a','b'],['c','d']);

else : $.merge(['a','b'],{0:'c',1:'d'});*/


//console.log( $.merge({0:'a',1:'b',length:2},{0:'c',1:'d'}) );

console.log( $.merge({0:'a',1:'b',length:2},['c','d']) );
</script>
</head>

<body>
<div></div>
<div></div>
<div></div>
</body>
</html>
